package demo2;

/**
 * Version: 1.1
 * Author: TangJun
 * Date: 2024-07-17
 */

public class Main {
    public static void main(String[] args) {
        Person a = new Person("张三", 18);
        Person b = new Person("张三", 18);
        System.out.println(a.equals(b));
        System.out.println(a.hashCode());
        System.out.println(b.hashCode());
    }
}
